var e = r(require("../../@babel/runtime/regenerator")),
  t = require("../../@babel/runtime/helpers/asyncToGenerator"),
  n = r(require("@/config/page"));
function r(e) {
  return e && e.__esModule ? e : { default: e };
}
Component({
  properties: {
    show: { type: Boolean, default: !1 },
    content: { type: String, default: "" },
  },
  data: {},
  methods: {
    doLogin: function () {
      return t(
        e.default.mark(function t() {
          return e.default.wrap(function (e) {
            for (;;)
              switch ((e.prev = e.next)) {
                case 0:
                  setTimeout(function () {
                    wx.reLaunch({ url: n.default.PAGE_MINE_INDEX });
                  }, 2e3);
                case 1:
                case "end":
                  return e.stop();
              }
          }, t);
        }),
      )();
    },
    onClose: function () {
      this.triggerEvent("onClose", {});
    },
  },
});
